package com.changan.service.impl;

import com.changan.entity.LoginLog;
import com.changan.mapper.LoginLogMapper;
import com.changan.service.LoginLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 登录日志表 服务实现类
 * </p>
 *
 * @author NieChangan
 * @since 2022-03-02
 */
@Service
public class LoginLogServiceImpl extends ServiceImpl<LoginLogMapper, LoginLog> implements LoginLogService {

    @Override
    public void addLoginLog(HttpServletRequest request) {
        //在这里实现具体的数据库添加逻辑
        System.out.println("添加登录日志");
    }
}
